﻿
namespace Inovout.Test
{
    public abstract class BaseTest
    {
        public readonly TestApplication application;
        protected BaseTest()
        {
            if (application == null)
            {
                //因为单元测试都是单线程，故无需锁
                application = new TestApplication(this.GetType().Assembly);
                application.Run();
            }
        }
    }
}
